<?php defined('TSTP_VERSION') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Test_Types
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: object.tstp.php 165 2009-03-07 09:54:16Z molotsoft@gmail.com $
* @link $HeadURL: http://test-types.googlecode.com/svn/tags/2.0.1/types/object/object.tstp.php $
*/


function tstp_object($var, $class_name = NULL) {
	return is_object($var) && (!is_null($class_name) ? is_object_class_name($var, trim($class_name)) : TRUE); // lucky func
}

function tstp_obj($var, $class_name = NULL) { return tstp_object($var, $class_name); }
function tstp_o($var, $class_name = NULL) { return tstp_object($var, $class_name); }


?>